package com.zoweunion.mechanic.service.base;

import com.zoweunion.mechanic.model.User;

import java.util.List;
import java.util.Map;

public interface RoleService {


	List<Map<String, Object>> getAll(Map<String, Object> map);


	void update(Map<String, Object> reqMap);

	
	List<Map<String, Object>> getAllPermissions(User currentUser);


	List<Map<String, Object>> getParentPermissions();
	
	
	List<Map<String, Object>> getChildrenPermissions(Map<String, Object> reqMap);
	
	
	List<Map<String, Object>> getAllPermissionsByRole(Map<String, Object> reqMap);

	
	void updateRole_permission(Map<String, Object> reqMap);

}
